<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>菜单</title>
    <style>
        .list-style{
            list-style-type: none;
            padding-inline-start:0;

            margin: 100px 200px;
        }

        .list-style li {
            float: left;
            font-size: 14px;
            text-align: center;
            line-height: 30px;
            border-bottom: 1px solid #ccc;
        }

        .list-style div {
            width: 80px;
            height: 30px;
            text-align: center;
            line-height: 30px;
        }

        .list-style div:hover{
            font-weight: bolder;
            background-color: #eee;
            border-bottom: 2px solid orange;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <ul class="list-style">
        <li>
            <div>菜单1</div>
        </li>
        <li>
            <div>菜单2</div>
        </li>
        <li>
            <div>菜单3</div>
        </li>
    </ul>
</body>
</html>